package com.atguigo.yygh.hosp.client;

import com.atgui.yygh.vo.hosp.ScheduleOrderVo;
import com.atgui.yygh.vo.order.SignInfoVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * zz: wzh
 * time 2022 09 11 10 46
 **/
@Repository
@FeignClient(value = "service-hosp")
public interface HospitalFeignClient {
    //根据排版数据获取预约下单数据
    @GetMapping("/api/hosp/hospital/inner/getScheduleOrderVo/{scheduleId}")
    public ScheduleOrderVo getScheduleOrderVo(@PathVariable String scheduleId);

    //根据医院编号获取签名信息
    @GetMapping("/api/hosp/hospital/inner/getSignInfoVo/{hoscode}")
    public SignInfoVo getSignInfoVo(@PathVariable("hoscode") String hoscode);
}
